package com.sy.config;

/**
 * @author maojq
 * @date 2020/11/25 0025 19:32
 */
public class RedisKeyConfig {
    //登陆
    public static final String AUTH_TOKEN="health:auth:";//后面追加令牌
    public static final String AUTH_PHONE="health:auth:";//后面追加手机号
    //记录账号挤掉hash类型 feild：存储令牌 value：挤掉信息

    public static final String AUTH_OUT="health:auth:outs";

    public static final int AUTH_TIME=1800;//有效期

    public static final int SMS_RTIME=600; //有效期

    public static final String SMS_RCODE = "health:sms:register"; //后跟手机号

    //优惠券默认存在时间
    public static final int CP_ALIVETIME = 7;

    public static final String CP_TP = "coupontemplate:id:"; //后跟模板名
}
